Draco_flavus created this task.
Draco_flavus added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Feature summary** (what you would like to be able to do and where):
  
  Specialized replacement script is needed. The page numbers inside the <pages 
.../> tag should be replaced with a script.
  **Use case(s)** (list the steps that you performed to discover that problem, 
and describe the actual underlying problem which you want to solve. Do not 
describe only a solution):
  On wikisource we use multipage files as a base for further work. The 
transcribed pages are connected with the pdf/djvu file (eg. Page:Austin Pride 
and Prejudice/123). Sometimes we have to reupload the file (after adding or 
removing some pages. The pages on wikisource are moved eg. Page:Pride and 
Prejudice/123 → Page:Pride and Prejudice/127. This can be easily done with 
movepages. 
  However there is still a very tedious task: all parts of the book like Pride 
and Prejudice/Chapter 1, Pride and Prejudice/Chapter 2 etc. need a careful 
look, many pages have to be changed.
  <pages index="Austin Pride and Prejudice" from=120 to=145 /> becomes <pages 
index="Austin Pride and Prejudice" from=124 to=149 /> (when four pages between 
100 and 101 were added).
  The problem is more complicated due to the following reasons:
  
  - there could be several changes in the file (eg. pages 30-34 removed, four 
pages between 101 and 103 added etc.)
  - there exist different styles of the pages-tag
  
  **Benefits** (why should this be implemented?):
  advanced wikisource-users

TASK DETAIL
  https://phabricator.wikimedia.org/T368835

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Draco_flavus
Cc: Aklapper, pywikibot-bugs-list, Draco_flavus, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to